package com.lanou3g.k12.service;

import com.github.pagehelper.Page;
import com.lanou3g.k12.entity.Section;

import java.util.List;


public interface SectionService {

    List<Section> search(Integer page, String keyword, Integer size, Long cpId);

    List<Section> findAllSection(Integer page, Integer size, Long cpId);

    void deleteSomeSection(Long[] ids);

    void deleteOneSection(Long id);

    void insertSection(Section section);

    void updateSection(Long id, Section section);
}
